﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<IceScream.Models.Service>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Ice cream - Service
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div id="body_product" style="margin:0 auto">

      <% Html.RenderAction("LeftPage","Product"); %>

      <div id="main_service">
        <div class="inner">
        <% foreach(var item in Model) { %>
          <div class="boxService">
            <div class="boxSer_Image">
                <img src="<%: item.Image %>" alt="<%: item.Name %>" width="220px" height = "188px"/>
            </div>
            <div class="boxSer_Name">
               <h2> <%: item.Name %> </h2> 
            </div>
            <div class="boxSer_Description">
                <%: MvcHtmlString.Create(item.Description) %>
            </div>
          </div>

          <% } %>

        </div>
      </div>
      
      <div class="clear"> </div>

    </div>

</asp:Content>

